export interface dataType {
  queryParams: {
    pageNum: number;
    pageSize: number;
  };
  unfoldFlag: boolean;
  drawerFlag: boolean;
  drawerTitle: string;
  tableData: any;
  rowId: string | null; //选中数据的id
  isView:boolean,
  detaildrawerFlag:boolean,
}

export const rules = {
  title: [
    { required: true, message: '请输入事件标题', trigger: 'blur' }
    // { required: true, message: 'Please input Activity name', trigger: 'blur' },
    // { min: 3, max: 5, message: 'Length should be 3 to 5', trigger: 'blur' },
  ],
  declarer: [{ required: true, message: '请选择申报人', trigger: 'blur' }],
  occurTime: [{ required: true, message: '请输入发生时间', trigger: 'blur' }],
  occurPlace: [{ required: true, message: '请输入发生地点', trigger: 'blur' }],
  eventDetail: [{ required: true, message: '请输入事件描述', trigger: 'blur' }],
  
  impactLevel: [{ required: true, message: '请选择事件影响度', trigger: 'blur' }],
  eventLevel: [{ required: true, message: '请选择事件优先级', trigger: 'blur' }],
  eventTypeId: [{ required: true, message: '请选择事件类型', trigger: 'blur' }],
};



export const impactLevel = ['无', '一般' ,'严重', '重大']
export const eventLevel = ['紧要 ', '很紧要 ' ]
export const resolveStatus = ['未认领 ', '已认领' ,'已解决']
export const solveLevel = ['解决完成 ', '临时解决' ,'解决失败']
